package com.xh.bussiness.tiku.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.bussiness.tiku.model.PaperChapterVersion;
import com.xh.bussiness.tiku.model.QuestionSource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 试卷章节版本表 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface QuestionSourceMapper extends BaseMapper<QuestionSource> {

    void deleteByQuestionId(@Param("questionId") String questionId);

    List<QuestionSource> queryQuestionDetailSourceByQuestionId(@Param("questionId") String questionId);
}
